package itHeima.lesson6;

import java.util.Arrays;

public class demo {

    public static void main(String[] args) {

        int [] ages = {11,22,33,44,55,66};
        for (int i = 0; i < ages.length ; i++) {
            System.out.println(Arrays.stream(ages).max());
        }
    }
}
